import * as types from './mutation-types'
const mutations = {
  [types.SET_ONES] (state, v) {
    state.ones = v
  },
  [types.SET_FILMS] (state, v) {
    state.films = v
  },
  [types.SET_ARTICLES] (state, v) {
    state.articles = v
  },
  [types.SET_CURRENT_ONE] (state, data) {
    state.currentOne = data
  }
}

export default mutations
